package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 学历状态
 * 0-待审核 1-认证失败，2-已认证
 *	
 */
public enum RegisterStateEnum implements IEnum {

	PENDINGAPPROVAL(0, "初审中"), AUTHENTICATIONFAILURE(1, "初审失败"), AUTHENTICATED(2, "终审成功"), FIRSTTRIALSUS(3, "初审成功"), FINALTRIALWAIT(
			4, "终审中"), FINALTRIALBEAT(5, "终审失败");
	private int key;
	private String value;

	private RegisterStateEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}